#include <iostream>
#include <WinSock2.h>

int TCP_send(SOCKET s, char *buf, int maxsize)
{	
	int len = 0;
	if (s != INVALID_SOCKET)
	{
		send(s, buf, maxsize, 0);
	}	
	return len;
}